<template>
	<el-card shadow="never" :header="$t('setting.logs.seven')">
		<scTable ref="table" :apiObj="apiObj" height="auto" paginationLayout="total, prev, pager, next" hideDo>
			<sc-table-column :label="$t('setting.logs.index')" prop="id"></sc-table-column>
			<sc-table-column :label="$t('operate.name')" prop="action" min-width="150"></sc-table-column>
			<sc-table-column :label="$t('login.admin')" prop="admin_name" min-width="150"></sc-table-column>
			<sc-table-column :label="$t('login.admin') + 'ID'" prop="admin_id" min-width="80"></sc-table-column>
			<sc-table-column :label="$t('setting.logs.link')" prop="url" min-width="250"></sc-table-column>
			<sc-table-column :label="$t('setting.logs.linkmethod')" prop="type" min-width="100"></sc-table-column>
			<sc-table-column :label="$t('setting.logs.come')" prop="ip" min-width="100"></sc-table-column>
			<sc-table-column :label="$t('setting.logs.result')" prop="code" min-width="100">
				<el-tag type="success">{{$t('setting.logs.success')}}</el-tag>
			</sc-table-column>
			<sc-table-column :label="$t('setting.logs.time')" prop="create_time" min-width="150"></sc-table-column>

		</scTable>
	</el-card>
</template>

<script>
	export default {
		data() {
			return {
				apiObj: this.$API.admin.log.lists
			}
		},
	}
</script>

<style>
</style>
